<?php
    if (isset($this->messages)) {
        foreach ($this->messages as $key=>$value)
        {
            echo "<p class=\"flash\"> $value</p>\n";
        }
    }
?>
<a href="/admin/article/new">New Article</a>
<h2>Articles index</h2>
